include( 'shared.lua' )
include( "game/cl_init.lua" )
include("cl_toppanels.lua")
include("cl_panels.lua")
include("block/cl_init.lua")
include("cl_flag.lua")
include("cl_sound.lua")



hook.Add( "Initialize", "CreateTimeLeft", function()
	
	local timeleft = vgui.Create("NCTimeLeft")
	timeleft:InvalidateLayout( true )
	
	local blue_team = vgui.Create("NCTeamScore")
	blue_team:SetTeam( Team.BLUE )
	blue_team:SetOffset( -150 )
	blue_team:InvalidateLayout( true )
	
	local red_team = vgui.Create("NCTeamScore")
	red_team:SetTeam( Team.RED )
	red_team:SetOffset( 150 )
	red_team:InvalidateLayout( true )
	
	local block_count = vgui.Create("NCBlockCount")
	block_count:SetOffset( 300 )
	block_count:InvalidateLayout( true )
	
	local round_count = vgui.Create("NCRoundsLeft")
	round_count:SetOffset( -300 )
	round_count:InvalidateLayout( true )

end )